﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Rule.aspx.cs" Inherits="WinnerCMS.WebUI.Admin.Gather.Rule" %>
<!doctype html>

<html>
<head id="Head1" runat="server">
    <title>规则生成器</title>
	<meta http-equiv="Pragma" content="No-cach" />
	<%: Styles.Render("~/Content/Bootstrap/css") %>
</head>
<body>
    <form id="form1" runat="server">
    <div align="center">
        <asp:TextBox ID="txtHTML" runat="server" Height="196px" TextMode="MultiLine" Width="459px"></asp:TextBox>
        <br />
        <asp:Button ID="btnOK" runat="server" OnClick="btnOK_Click" Text="转换" Cssclass="btn btn-default" />
        <br />
        <asp:TextBox ID="txtRegex" runat="server" Height="196px" TextMode="MultiLine" Width="459px"></asp:TextBox>
        <table style="width: 464px">
            <tr>
                <td align="left" >
                    1、网页源码中找到要采集的内容的HTML代码复制到下边的文本框；<br />
                    2、将要采集的代码替换为<b>@WinnerCMS@</b><br />
                    3、点击生成规则，文本框内就得到生成的匹配规则；<br />
</td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>